﻿using Lonewolf.Entity;
using Lonewolf.Infrastructure;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace Lonewolf.IService
{
    public partial interface IRoleInfoService
    {
        /// <summary>
        /// 角色信息异步保存方法|返回JSON数据
        /// </summary>
        /// <param name="model">角色实体</param>
        /// <returns></returns>
        Task<JsonResult<SaveEntity>> SaveAsync(RoleInfo model);
        /// <summary>
        /// 物理删除|无视伪删除|返回JSON数据
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        Task<JsonResult<string>> DeleteAsync(string[] Id);
        /// <summary>
        /// 伪删除|返回JSON数据
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        Task<JsonResult<string>> DletePseudoAsync(string[] Id);
    }
}
